package com.wowoai.chatai.service;

import com.wowoai.chatai.controller.req.AIDrawingCallBackReq;
import com.wowoai.chatai.controller.req.GeneratePictureReq;
import com.wowoai.chatai.controller.req.UserDrawingRecordPageReqVO;
import com.wowoai.chatai.service.dto.UserDrawingDTO;
import com.wowoai.chatai.service.dto.UserImageDTO;
import com.wowoai.common.page.Pagination;
import com.wowoai.common.userInfo.UserInfo;
import com.wowoai.user.service.dto.UserDTO;

public interface AIServiceI {
    void aIDrawingHandle(Long userId, AIDrawingCallBackReq aiDrawingCallBackReq);

    Pagination<UserDrawingDTO> getDrawingImagePage(UserInfo userInfo, UserDrawingRecordPageReqVO reqVO);

    /**
     * 查询用户生成的图片
     *
     * @param phoneNumber 用户id
     * @param taskId      生成图片的taskId
     * @return
     */
    UserImageDTO getUserImageList(String phoneNumber, String taskId);

    /**
     * 生成图片发http请求
     *
     * @param userId
     * @param userDTO
     * @param generatePictureReq
     * @param promptCN
     * @return
     */
    String generatePicture(UserDTO userDTO, GeneratePictureReq generatePictureReq, String promptCN);

    /**
     * 调用chat
     * @param problem 问题
     * @return
     */
    String generateChat(String problem);
}
